@CLASS
baseCommand

@USE
pf/management/pfManageCommand.p
pf/sql/pfMySQL.p
pf/templet/pfTemple.p

appCore.p
hlpFormater.p

@BASE
pfManageCommand

@create[aOptions]
  ^cleanMethodArgument[]  
  ^BASE:create[$aOptions]

  $_CSQL[^pfMySQL::create[$MAIN:SQL.connect-string][
#     $.enableIdentityMap(true)
#     $.isNaturalTransactions(true)
#     $.enableQueriesLog(true)
  ]]  

  $_core[^appCore::create[$.sql[$_CSQL]]]]

  $_now[^date::now[]]
  $_formater[^hlpFormater::create[]]
  $_templet[^pfTemple::create[$.templateFolder[/../views]]]
  ^defReadProperty[TEMPLET;_templet]
  ^TEMPLET.assign[formater;$_formater]

  ^defReadProperty[CSQL]
  ^defReadProperty[core]
  ^defReadProperty[now]
  ^defReadProperty[formater] 
